package com.moshme.project.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.moshme.project.domain.StageSurveyConfinedSpace;
import com.moshme.project.domain.StageSurveyInfo;
import com.moshme.project.service.StageSurveyInfoService;
import com.moshme.project.mapper.StageSurveyInfoMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 19803
* @description 针对表【stage_survey_info(勘察阶段基本信息表)】的数据库操作Service实现
* @createDate 2023-09-07 16:55:24
*/
@Service
public class StageSurveyInfoServiceImpl extends ServiceImpl<StageSurveyInfoMapper, StageSurveyInfo>
    implements StageSurveyInfoService{

    @Override
    public List<StageSurveyInfo> getListByProject(Long projectId) {
        LambdaQueryWrapper<StageSurveyInfo> lambdaQueryWrapper = new LambdaQueryWrapper<>();
        return list(lambdaQueryWrapper.eq(StageSurveyInfo::getProjectId,projectId));
    }

}




